<%@ Assembly Name="Starznet.SharePoint.SPDAT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=74e3ac9236a77c47" %>
<%@ Page Language="C#" Inherits="Starznet.SharePoint.SPDAT.ApplicationPages.Administration.ManageRolesPage" MasterPageFile="~/_admin/admin.master" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="EncTitle" runat="server" Text="<%$Resources:szadm,ManageRoleDetails_PageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="EncTitle2" runat="server" Text="<%$Resources:szadm,ManageRoleDetails_PageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:EncodedLiteral ID="EncDesc" runat="server" Text="<%$Resources:szadm,ManageRoleDetails_PageDesc%>" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageImage" runat="server">
	<a href="http://www.starznet.co.uk" title="Visit the Starznet website" target="_blank">
	    <img src="/_layouts/Starznet/StarznetPageGraphic.gif" alt="Starznet Ltd" style="margin-top:3px;border:0px;"/>
	</a>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
   <table border="0" cellspacing="0" cellpadding="0" width="100%">
        <wssuc:InputFormSection 
            Title="<%$Resources:szadm,Global_WebAppLabel%>"
		    Description=""
		    runat="server">
	       <Template_InputFormControls>
			    <wssuc:InputFormControl LabelText="<%$Resources:szadm,Global_WebAppLabel%>" runat="server">
				     <Template_Control>
                        <asp:Label ID="LblWebApp" runat="server" />
				     </Template_Control>
			    </wssuc:InputFormControl>
	       </Template_InputFormControls>
        </wssuc:InputFormSection>
        <wssuc:InputFormSection 
            Title="<%$Resources:szadm,ManageRoles_DefaultProviderLabel%>" 
            Description="<%$Resources:szadm,ManageRoles_DefaultProviderDesc%>"
            runat="server">
            <template_inputformcontrols>
			    <wssuc:InputFormControl runat="server" LabelText="<%$Resources:szadm,ManageRoles_DefaultProviderLabel%>">
			        <Template_Control>
				        <SharePoint:InputFormTextBox 
				            Title="<%$Resources:szadm,ManageRoles_DefaultProviderLabel%>" 
				            CssClass="ms-input" 
				            ID="TxtDefaultRoleProvider" 
				            runat="server" 
				            Enabled="false" />
			        </Template_Control>
		        </wssuc:InputFormControl>
		    </template_inputformcontrols>
        </wssuc:InputFormSection>
        <wssuc:InputFormSection 
            Title="<%$Resources:szadm,ManageRoles_ConnStringLabel%>" 
            Description="<%$Resources:szadm,ManageRoles_ConnStringDesc%>"
            runat="server">
            <template_inputformcontrols>
			    <wssuc:InputFormControl runat="server" LabelText="<%$Resources:szadm,ManageRoles_ConnStringLabel%>">
			        <Template_Control>
			            <asp:DropDownList Title="<%$Resources:szadm,ManageRoles_ConnStringLabel%>" ID="DdlConnString" runat="server" AutoPostBack="true" />
			            <asp:Panel ID="PnlOtherConn" runat="server" Visible="false">
			                <SharePoint:InputFormTextBox 
			                    ID="TxtOtherConn" 
			                    runat="server" 
			                    CssClass="ms-input" 
			                    Width="400px"/>
			            </asp:Panel>
			        </Template_Control>
		        </wssuc:InputFormControl>
		    </template_inputformcontrols>
        </wssuc:InputFormSection>
        <wssuc:InputFormSection 
            Title="<%$Resources:szadm,ManageRoles_EnabledLabel%>" 
            Description="<%$Resources:szadm,ManageRoles_EnabledDesc%>"
            runat="server">
            <template_inputformcontrols>
			    <wssuc:InputFormControl runat="server">
			        <Template_Control>
				        <SharePoint:InputFormCheckBox
				            runat="server"
				            id="ChkEnableRoles"
				            LabelText="<%$Resources:szadm,ManageRoles_EnabledLabel%>" />
			        </Template_Control>
		        </wssuc:InputFormControl>
		    </template_inputformcontrols>
        </wssuc:InputFormSection>
        <wssuc:InputFormSection 
            Title="<%$Resources:szadm,ManageRoles_AppNameLabel%>" 
            Description="<%$Resources:szadm,ManageRoles_AppNameDesc%>"
            runat="server">
            <template_inputformcontrols>
			    <wssuc:InputFormControl runat="server" LabelText="<%$Resources:szadm,ManageRoles_AppNameLabel%>">
			        <Template_Control>
				        <SharePoint:InputFormTextBox 
				            Title="<%$Resources:szadm,ManageRoles_AppNameLabel%>" 
				            CssClass="ms-input" 
				            ID="TxtApplicationName" 
				            runat="server" />
				        <SharePoint:InputFormRequiredFieldValidator 
				            ID="ReqTxtApplicationName"
					        ControlToValidate="TxtApplicationName"
					        ErrorMessage="<%$Resources:szadm,ManageRoles_AppNameError%>" 
					        runat="server" />
			        </Template_Control>
		        </wssuc:InputFormControl>
		    </template_inputformcontrols>
        </wssuc:InputFormSection>
        <wssuc:ButtonSection runat="server">
            <template_buttons>
			    <asp:Button UseSubmitBehavior="false" CausesValidation="true" runat="server" CssClass="ms-ButtonHeightWidth" OnClick="BtnAdd_Click" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnAdd" accesskey="<%$Resources:wss,okbutton_accesskey%>" Enabled="true"/>
		    </template_buttons>
        </wssuc:ButtonSection>
    </table>
</asp:Content>